* {
    padding: 0;
    margin: 0;
}

.index_header {
    width: 100%;

    .index_header_bg {
        width: 1180px;
        height: 100px;
        margin: auto;
        display: flex;
        justify-content: space-between;
        align-items: center;

        img {
            width: 190px;
            height: 50px;
        }

        .on {
            color: #e66586;
        }

        .hotreadAndGirl {
            display: flex;
            width: 150px;
            justify-content: space-between;
        }

        .search-content {
            display: flex;
            align-items: center;
            justify-content: space-between;

            .search-text {
                width: 494px;
                height: 47px;
                background: #fff;
                border: 1px solid #e6e5e5;
                padding-left: 22px;
                box-sizing: border-box;
                outline: none;
            }

            img {
                width: 45px;
                height: 45px;
                background-color: #c54954;
            }
        }

        .main-login {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 180px;
        }

    }

    ul {
        list-style: none;
        display: flex;
        align-items: center;
        justify-content: space-around;
        margin: auto;
        width: 276px;
        height: 20px;
        font-size: 14px;

        li {
            span {
                color: #666;
            }
        }
    }
}

.index_swiper {
    .swiper-container {
        width: "100%";
        height: 420px;
        margin-top: 20px;

        .swiper-slide {
            img {
                width: 100%;
                height: 420px;
            }
        }
    }
}

.hotr-nav {
    background-color: #333333;
    width: 100%;
    margin-bottom: 24px;

    ul {
        width: 1180px;
        height: 59px;
        margin: auto;
        list-style: none;
        display: flex;
        justify-content: space-between;
        align-items: center;

        li {
            font-size: 18px;
            color: #fff;
        }
    }
}

//中部轮播
.swiper-container1 {
    width: 270px;
    height: auto;

}

.swiper-slide1 {
    text-align: center;
    font-size: 18px;
    background: #fff;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.swiper-slide1 {
    img {
        width: 100%;
        height: auto;
        object-fit: contain;
        display: block;
    }

    h2 {
        margin: 0;
        padding: 0;
        font-size: 17px;
        color: #000;
        font-weight: 700;
        text-align: left;
        margin-left: 10px;
        margin-top: 20px;
    }

    p {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        font-size: 13px;
        color: #000;
        line-height: 20px;
        height: 40px;
        margin-top: 14px;
        text-align: left;
        margin-left: 10px;
        margin-bottom: 15px;
    }

    div {
        border: 1px solid #eee;
    }


}

.bookIntro {
    width: 576px;

    .bookIntro-rect {
        margin-bottom: 20px;

        span {
            color: #4e4e4e;
            font-size: 18px;
            font-weight: 700;
            text-align: center;
            display: inline-block;
            width: 576px;
            margin-bottom: 10px;
            padding-right: 12px;
        }

        .bookIntro-content {
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            height: 50px;
            line-height: 26px;
            font-size: 14px;
            color: #333;
        }
    }
}

.swiper-container swiper-container1 swiper-container-horizontal {
    margin: 0;
}

.weekHot_home {
    width: 1180px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
}

.weekHot-main {
    display: flex;
    justify-content: space-between;
    width: 877px;
}

.bookIntro-rect {
    div {
        display: flex;
        align-items: center;
        height: 38px;
        font-size: 14px;
        color: #333;

        .bookIntro-rect-left,
        bookIntro-rect-right {
            width: 248px;
        }

        .bookIntro-rect-right {
            margin-right: 20px;
            margin-left: 48px;
        }
    }
}

.bookNews {
    display: flex;
    align-items: center;
    justify-content: left;
    border: 1px solid #eee;
    margin-top: 32px;

    img {
        width: 28px;
        height: 35px;
        margin-left: 18px;
    }

    .bookNews-line {
        height: 38px;
        border-left: 1px solid #e6e5e5;
        ;
    }

    div {
        // width: 424px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 14px;
        color: #666;
        margin-left: 16px;
        text-align: left;
    }
}

.ranking_typeRank_home {
    width: 275px;

    .rankTitle {
        width: 100%;
        height: 50px;
        width: 100%;
        font-size: 18px;
        font-weight: 600;
        color: #333;
        line-height: 41px;
        display: flex;
        justify-content: space-between;

        span {
            width: 22px;
            height: 26px;
            font-weight: 400;
            font-size: 14px;
            color: #333;
            text-align: center;
            line-height: 23px;
            margin-left: 6px;
            cursor: pointer;
        }
    }
}

// 
.tiket {
    font-size: 10px !important;
    color: #999;
    text-align: right;
    max-width: 70px; // 限制最大宽度防止重叠
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.onul {
    list-style: none;
    width: 275px;
    margin: 20px auto;
    border: 1px solid #eee;
    // 移除固定高度，让它自适应内容
    min-height: 306px; // 设置最小高度保证一致性
}

.onul li {
    display: flex;
    width: 275px;
    align-items: center;
    justify-content: start;
    height: 36px;
    padding: 0 10px;
    cursor: pointer;
    position: relative;
    box-sizing: border-box;
}

.onul li p {
    font-style: normal;
    display: block;
    // width: 46px;
    height: 36px;
    text-align: left;
    line-height: 36px;
    font-size: 14px;
    color: #666;
    flex-shrink: 0; // 防止被压缩
    margin-right: 20px;
}

.onul li div {
    display: flex;
    align-items: center;
    width: 219px;
    justify-content: space-between;
    flex-shrink: 0; // 防止被压缩
}

.onul li div .bookName {
    font-size: 14px;
    line-height: 36px;
    font-weight: 400;
    height: 36px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 110px;
    margin-right: 10px;
    color: #333;
}

.onul li div .author {
    display: none;
    font-size: 12px;
    color: #999;
}

.onul li img {
    display: none;
    margin-left: auto;
}

/* 高亮状态样式 */
.onul li.on {
    background-color: #f5f5f5;
    font-weight: bold;
    height: 90px;
    width: 275px;
}

.onul li.on div {
    display: block;
}

.onul li.on div .bookName {
    display: block;
    width: 88px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 24px;
    margin-top: 10px;
}

.onul li.on div .author {
    display: block;
    margin-top: 5px;
}

.onul li.on img {
    display: block;
    width: 52px;
    height: 70px;
    border-radius: 4px;
    object-fit: cover;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.more {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    background-color: #f8f7f7;
    width: 274px;

    p {
        font-size: 14px;
        line-height: 46px;
        color: #999;
    }

    img {
        width: 14px;
        height: 14px;
        margin-left: 10px;
    }
}

.index-banner {
    margin: auto;
    max-width: 1180px;
    margin-top: 40px;
    margin-bottom: 29px;
    overflow: hidden;
}

.coverRecommend {
    width: 1180px;
    margin: auto;
    display: flex;
    justify-content: space-between;

    .coverRecommend-rect {
        width: 877px;

        .coverRecommend-title {
            font-size: 22px;
            line-height: 51px;
            font-weight: 700;
        }

        .coverRecommend-list {
            list-style: none;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;

            li {
                width: 148px;
                height: 248px;
                border: 1px solid #e9e8e8;
                position: relative;

                img {
                    display: block;
                    width: 140px;
                    height: 175px;
                    margin: 5px auto 0;
                }

                .coverRecommend-list-title {
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                    width: 110px;
                    margin: 10px auto 0;
                    text-align: center;
                    font-size: 15px;
                    color: #333;
                    font-weight: 700;
                }

                .coverRecommend-list-content {
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                    width: 110px;
                    margin: 0 auto;
                    font-size: 13px;
                    text-align: center;
                }

                .mask {
                    position: absolute;
                    display: none;
                    top: -48px;
                    right: -245px;
                    width: 250px;
                    background-color: #fff;
                    font-size: 12px;
                    z-index: 99;
                    padding: 10px;
                    border-radius: 10px;
                    color: #333;
                }

                &:hover {
                    .mask {
                        display: -webkit-box;
                        // -webkit-box-orient: vertical; 
                        // -webkit-line-clamp: 13;
                        // overflow: hidden;
                        // text-overflow: ellipsis;
                    }
                }


            }
        }

    }

    .newRank_home {
        width: 275px;

        .head {
            height: 50px;
            line-height: 50px;
            font-size: 20px;
        }
    }
}

.coverRecommend-rect .coverRecommend-list li:nth-child(n+6):nth-child(-n+10) {
    margin-top: 30px;
}

.coverRecommend-list li img:hover {
    transform: scale(1.05);
    transition: all 0.4s;
    cursor: pointer;
}

.Fine_list {
    list-style: none;
    padding: 10px 21px;
    border: 1px solid #e6e5e5;

    li {
        display: flex;
        justify-content: space-between;
        align-items: center;
        line-height: 36px;

        div {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-size: 14px;
        }

        .tag {
            color: #999;
        }

        .name {
            width: 90px;
            color: #666;
            text-align: start;
        }

        .author {
            color: #999;
            text-align: right;
            width: 42px;
            text-align: start;
        }
    }
}

.Fine_list li:hover {
    div {
        color: #cb5b65;
        cursor: pointer;
    }
}

.rankBox-rect {
    width: 1180px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    margin-top: 37px;
}

.rankTitle {
    width: 100%;
    height: 50px;
    width: 100%;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    line-height: 41px;
    display: flex;
    justify-content: space-between;

    div {
        display: flex;
    }

    span {
        width: 22px;
        height: 26px;
        font-weight: 400;
        font-size: 14px;
        color: #333;
        text-align: center;
        line-height: 23px;
        margin-left: 6px;
        cursor: pointer;
        border-radius: 3px;

        &.active {
            color: #fff;
            background: url("https://c.hotread.com/boyPc/assets/images/chart-phb-ob.png") no-repeat;
            background-size: contain;
        }
    }
}

.classify {
    width: 1180px;
    margin: auto;

    .classify-rect {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #57575c;
        box-sizing: border-box;

        .classify-title {
            height: 50px;
            font-size: 22px;
            line-height: 50px;
            padding-left: 4px;
            font-weight: 700;
        }

        .classify-title-more {
            height: 50px;
            color: #c54954;
            font-size: 17px;
            line-height: 50px;
            padding-left: 4px;
            font-weight: 700;
            margin-right: 5px;

            img {
                width: 14px;
            }
        }
    }

    ul {
        list-style: none;
        display: flex;
        justify-content: space-between;

        .classify-li {
            width: 272px;
            height: 378px;

            .classify-li-title {
                .line {
                    margin-right: 12px;
                    height: 18px;
                    border-right: 2px solid #c54954;
                }

                height: 60px;
                line-height: 60px;
                font-size: 18px;
                font-weight: 700;
            }
        }

        .classify-li-center {
            display: flex;
            justify-content: space-between;
            align-items: center;

            img {
                width: 118px;
                height: 170px;
                cursor: pointer;
            }

            img:hover {
                width: 118px;
                height: 170px;
                overflow: hidden;
                transform: scale(1.05);
                transition: all 0.4s;
            }

            .classify-li-center-right {
                width: 136px;

                .title {
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                    width: 100%;
                    font-size: 17px;
                    color: #cb5b65;
                    margin-top: 10px;
                    cursor: pointer;
                }

                .concent {
                    margin-top: 15px;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    display: -webkit-box;
                    -webkit-line-clamp: 3;
                    -webkit-box-orient: vertical;
                    height: 54px;
                    font-size: 13px !important;
                    color: #666;
                    cursor: pointer;
                    line-height: 18px;
                }

                .lable {
                    font-size: 12px;
                    margin-top: 15px;
                    color: #666;
                    cursor: pointer;
                }

                .number {
                    font-size: 10px;
                    margin-top: 10px;
                    color: #666;
                    cursor: pointer;
                }
            }
        }

        .classify-li-footer {
            margin-top: 20px;

            ul {
                list-style: none;
                display: block;

                li {
                    display: flex;
                    font-size: 15px;
                    margin-top: 5px;
                    line-height: 22px;
                    cursor: pointer;

                    .left {
                        color: #a9a9a9;
                    }

                    .left-classify-li-footer-center {
                        color: #000;
                        margin-left: 5px;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                        width: 100px;
                    }

                    .left-classify-li-footer-foot {
                        color: #a9a9a9;
                        margin-left: 10px;
                    }
                }
            }
        }
    }
}

.classify-title-more {
    height: 50px;
    color: #c54954;
    font-size: 17px;
    line-height: 50px;
    padding-left: 4px;
    font-weight: 700;
    margin-right: 5px;

    img {
        width: 14px;
    }
}

.newBook {
    width: 1180px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;

    .newBook-rect {
        width: 877px;

        .newBook-rect-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid #57575c;

            .newBook-title {
                height: 50px;
                font-size: 22px;
                line-height: 50px;
                padding-left: 4px;
                font-weight: 700;
            }
        }

        ul {
            list-style: none;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;

            .newBook-rect-ul-li {
                width: 272px;
                height: 170px;
                margin-top: 40px;
                display: flex;
                justify-content: space-between;

                img {
                    width: 118px;
                    height: 170px;

                    &:hover {
                        transform: scale(1.05);
                        transition: all 0.4s;
                        cursor: pointer;
                    }
                }

                .newBook-rect-ul-li-right {
                    width: 136px;

                    .title {
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                        width: 136px;
                        font-size: 17px;
                        font-weight: 700;
                        color: #081426;
                        height: 40px;
                        line-height: 40px;
                    }

                    .label {
                        font-size: 12px;
                        color: #333;
                        font-weight: 600;
                    }

                    .concent {
                        overflow: hidden;
                        text-overflow: ellipsis;
                        display: -webkit-box;
                        -webkit-line-clamp: 3;
                        height: 52px;
                        margin-top: 20px;
                        font-size: 12px;
                        color: #999;
                    }

                    .more {
                        display: block;
                        font-size: 14px;
                        color: #c54954;
                        margin-top: 20px;
                        background-color: #fff;
                        width: 136px;
                        height: 20px;

                        img {
                            width: 13px;
                            height: 13px;

                        }
                    }
                }
            }
        }
    }

    .rank6165 {
        width: 275px
    }
}

.newUpdate {
    width: 1180px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;

    .newUpdate-right {
        width: 875px;

        .newUpdate-right-title {
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: space-between;

            .newUpdate-title {
                display: flex;
                height: 50px;
                font-size: 22px;
                line-height: 50px;
                padding-left: 4px;
                font-weight: 700;

                .newUpdate-free {
                    display: flex;
                    align-items: center;
                    margin-left: 94px;

                    .cutBtn-list-on {
                        background: #c64852;
                        color: #fff;
                        border-radius: 5px;
                        cursor: pointer;
                        display: block;
                        text-align: center;
                        padding: 3px 5px;
                        font-size: 14px;
                        height: 24px;
                        line-height: 24px;
                    }

                    .cutBtn-list {
                        cursor: pointer;
                        display: block;
                        text-align: center;
                        padding: 3px 5px;
                        font-size: 14px;
                        height: 24px;
                        line-height: 24px;
                    }
                }
            }
        }
    }
}

.bookRect {
    height: 713px;
    border: 1px solid #e6e5e5;
    padding: 14px;
    list-style: none;
    box-sizing: border-box;
    
    li:nth-child(2n) {
        background: #f8f7f7;
    }
    
    li {
        height: 35px;
        width: 100%;
        font-size: 14px;
        line-height: 35px;
        color: #666;
        display: flex;
        
        .num {
            width: 35px;
            text-align: center;
            margin-right: 10px;
            display: inline-block;
        }
        
        .type {
            width: 110px;
            display: inline-block;
        }
        
        .bookName {
            width: 190px;
            display: inline-block;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            padding-right: 15px;
            box-sizing: border-box;
        }
        
        .chapter {
            width: 245px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            display: inline-block;
        }
        
        .author {
            width: 118px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            display: inline-block;
        }
        
        .time {
            width: 134px;
            display: inline-block;
        }
    }
    
    .list-title {
        font-size: 16px;
        height: 47px;
        font-weight: 700;
        line-height: 43px;
        overflow: hidden;
        color: #333;
        display: flex;
        align-items: center;
        cursor: default;
    }
}